﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace CIT.WMS.shelf
{
    public partial class FrmShelf : Form
    {
        public FrmShelf(string title)
        {
            InitializeComponent();
            label1.Text = title;
        }

        private void btn_close_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void btn_reelinputshelf_Click(object sender, EventArgs e)
        {
            //FrmCheckUser frmm = new FrmCheckUser();
            //frmm.ShowDialog();
            //if (frmm.flag)
            //{
                //inputShelf.FrminShelf frm = new CIT.WMS.inputShelf.FrminShelf();
                //frm.ShowDialog();
            //}
        }

        private void btn_reeloutshelf_Click(object sender, EventArgs e)
        {
            //FrmCheckUser frmm = new FrmCheckUser();
            //frmm.ShowDialog();
            //if (frmm.flag)
            //{
                output.FrmOutputShelf frm = new CIT.WMS.output.FrmOutputShelf();
                frm.ShowDialog();
            //}
        }

        private void btn_diaobo_Click(object sender, EventArgs e)
        {
            FrmCheckUser frmm = new FrmCheckUser();
            frmm.ShowDialog();
            if (frmm.flag)
            {
                inputShelf.FrminputShelf frm = new CIT.WMS.inputShelf.FrminputShelf();
                frm.ShowDialog();
            }
        }
        /// <summary>
        /// 普通料卷上架 nancy 2017.08.02 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btn_discarde_Click(object sender, EventArgs e)
        {
            FrmCheckUser frmm = new FrmCheckUser();
            frmm.ShowDialog();
            if (frmm.flag)
            {
                inputShelf.FrminOrdinaryShelf frm = new CIT.WMS.inputShelf.FrminOrdinaryShelf();
                frm.ShowDialog();
            }
        }
    }
}